home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Demos / AppMaker™ 1.5 DEMO / Demo AppMaker™ / Demo AppMaker™.rsrc / TmCM_204_Window.h < prev    next >
Encoding:
Text File  |  1992-04-08  |  1.1 KB  |  39 lines

  1. // %filename% -- window
  2. // Created %date% %time% by AppMaker
  3.  
  4. //    For most applications, your window will have custom view classes.
  5. //    This module provides a convenient place to put these classes.
  6. //    If you specify a custom classname for any view item, AppMaker will
  7. //    generate some skeleton code for that custom class.  It generates
  8. //    a declaration of that class with a fields method; it generates
  9. //    the body of the fields method; and AppMaker generates code for
  10. //    dead strip suppression.  For some view items, AppMaker generates
  11. //    other methods it knows you will need; for instance, for a
  12. //    TTextListView, AppMaker generates a GetItemText method.
  13.  
  14. #ifndef __U%windname%__
  15. #define __U%windname%__
  16.  
  17. #ifndef __UMacApp__
  18.     #include <UMacApp.h>
  19. #endif
  20. #ifndef __UGridView__
  21.     #include <UGridView.h>
  22. #endif
  23. #ifndef __UTEView__
  24.     #include <UTEView.h>
  25. #endif
  26. #ifndef __UDialog__
  27.     #include <UDialog.h>
  28. #endif
  29. #ifndef __UAMLibraryM__
  30.     #include <UAMLibraryM.h>
  31. #endif
  32. %for each item gen classDecl%
  33.     
  34. /*----------*/
  35. TWindow     *New%windname%    (TDocument        *itsDocument);
  36.  
  37. /* U%windname% */
  38. #endif 
  39.